package com.yunxin.customui.mapper;

import cn.hutool.core.map.CaseInsensitiveMap;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface ExecuteMapper {

    @Select("${sql}")
    List<CaseInsensitiveMap<String, Object>> executeReadSql(String sql);

    @Insert("${sql}")
    int executeWriteSql(String sql);
}
